<h2>型号</h2>
<?php
$this
	->widget('zii.widgets.grid.CGridView',
		array(
			'id' => 'material-model-grid',
			'dataProvider' => new CArrayDataProvider($model->models,
				array(
					'pagination' => false
				)),
			'enablePagination' => false,
			'template' => "{items}",
			'columns' => array(
				array(
					'name' => 'model',
					'header' => '型号'
				),
				array(
					'name' => 'code',
					'header' => '清单编号'
				),
				array(
					'name' => 'unit',
					'header' => '主要单位'
				),
				array(
					'name' => 'referenceCode',
					'header' => '配合/台班号'
				),
				array(
					'name' => 'note',
					'header' => '备注'
				),
			),
		));
?>
